package com.biz.primus.commodity.vo.backend;


import com.biz.primus.base.vo.commodity.SaleStatus;

import java.io.Serializable;

/**
 * Created by jiangnan on 2017/6/14.
 */
public class ProductSaleReqVo implements Serializable {

    private Long productId;

    private SaleStatus pcSaleStatus;

    private SaleStatus appSaleStatus;

    /**
     * 商品价格
     */
    private Double price;


    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public SaleStatus getPcSaleStatus() {
        return pcSaleStatus;
    }

    public void setPcSaleStatus(SaleStatus pcSaleStatus) {
        this.pcSaleStatus = pcSaleStatus;
    }

    public SaleStatus getAppSaleStatus() {
        return appSaleStatus;
    }

    public void setAppSaleStatus(SaleStatus appSaleStatus) {
        this.appSaleStatus = appSaleStatus;
    }

    public Boolean isValidate(){
        if (appSaleStatus!=null && productId!=null && pcSaleStatus!=null){
            return true;
        }else {
            return false;
        }
    }


}
